package ace.cmp.security.oauth2.resource.server.core.properties;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author caspar
 * @date 2023/2/10 9:21
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(prefix = OAuth2ResourceServerSpringSecurityProperties.PROPERTIES_PREFIX)
public class OAuth2ResourceServerSpringSecurityProperties {
  public static final String PROPERTIES_PREFIX = "spring.security.oauth2.resourceserver";

  /**
   * userinfo endpoint url
   */
  private String userinfoUrl = "/userinfo";
}
